package com.neuedu.corejava.ch3.practise;

import java.util.Scanner;

public class Demo15 {

	public static void main(String[] args) {
		/*
		outer:for(int i=0;i<10;i++){//outer
			inner:while(true){
				Scanner sc=new Scanner(System.in);
				String  s=sc.next();//inner
				System.out.println("inner Loop:" + s);
				if(s.equals("hello"))
					{break  inner;}//inner
				if(s.equals("kitty"))
					{break outer;}//outer
			}
		}
		*/
	}

}
